{if $smarty.request.is_ajax neq 1}
<include file="inc:header" />	
<div class="page" id='{$data.act}'>
<?php
	$this->_var['back_url'] = wap_url("index","uc_center#index");
	$this->_var['back_page'] = "#uc_center";
	$this->_var['back_epage'] = $_REQUEST['epage']=="" ? "#uc_center" : "#".$_REQUEST['epage'];
?>
<include file="inc:title" />
<div class="content infinite-scroll " data-distance="{$data.rs_count}"  all_page="{$data.page.page_total}" ajaxurl="{wap_url x="index" r="uc_goods_order#index"}">
<!-- 这里是页面内容区 -->
<!--我的兑换-->
<div class="uc_goods_order invest" >
	<ul>
{/if}
		{foreach from=$data.order_info item=item key=key}
		<li>
			{if $item.order_status eq 0 || $item.order_status eq 2 || $item.order_status eq 3}
			<div class="clearfix topbox bb1">
				<span class="f_l">订单号:{$item.order_sn}</span>
				<span class="f_r">{$item.ex_time}</span>
			</div>
			{/if}
			{if $item.order_status eq 1}
			<div class="clearfix topbox bb1">
				<span class="f_l">订单号:{$item.order_sn}</span>
				<span class="f_r">{$item.ex_time}</span>
			</div>
			{/if}			
			<div class="middlebox w_b">
				<div class="picbox">
					<img src="{$item.img}" width="100%" height="100%"/>
				</div>
				<div class="w_b_f_1">
					<p class="fname">{$item.goods_name}</p>
					<div>
						<div class="w_b">
							<p class="w_b_f_1">
								商品数量：<i class="ea544a">{$item.number}</i>份
							</p>
							<p class="w_b_f_1">
								商品状态：<i class="{if $item.order_status eq 1}c56b1ea{else}ea544a{/if}">{$item.order_status_format}</i>
							</p>
                        </div>
						<p>所需积分：{$item.total_score}分</p>
						{if $item.is_delivery eq 1}
						<p>快递公司：{$item.delivery_express}</p>
						<p>快递单号：{$item.delivery_sn}</p>
						<p>发货时间：{$item.delivery_time}</p>
						<p>收货地址：{$item.delivery_addr}</p>
						<p>收货电话：{$item.delivery_tel}</p>
						<p>收&nbsp;&nbsp;货&nbsp;&nbsp;人：{$item.delivery_name}</p>
						{/if}
					</div>
				</div>
			</div>
		</li>
		{/foreach}
{if $smarty.request.is_ajax neq 1}
	</ul>
</div>
<!-- 加载提示符 -->
<div class="infinite-scroll-preloader">
  <div class="preloader">
  </div>
</div>
<include file="inc:footer" />
{/if}